TRIBITS_SUBPACKAGE(AdaptersIOSS)

# Optional IOSS dependency
##########################
#IF(${PACKAGE_NAME}_ENABLE_SEACASIoss)
#   GLOBAL_SET(PANZER_HAVE_IOSS ON)
#ELSE()
#   GLOBAL_SET(PANZER_HAVE_IOSS OFF)
#ENDIF()

# Optional Teko dependency
##########################
IF(${PACKAGE_NAME}_ENABLE_Teko)
   GLOBAL_SET(PANZER_HAVE_TEKO ON)
ELSE()
   GLOBAL_SET(PANZER_HAVE_TEKO OFF)
ENDIF()

# Optional Muelu dependency
###########################
IF(${PACKAGE_NAME}_ENABLE_MueLu)
   GLOBAL_SET(PANZER_HAVE_MUELU ON)
ELSE()
   GLOBAL_SET(PANZER_HAVE_MUELU OFF)
ENDIF()

# Optional Ifpack2 dependency
#############################
IF(${PACKAGE_NAME}_ENABLE_Ifpack2)
   GLOBAL_SET(PANZER_HAVE_IFPACK2 ON)
ELSE()
   GLOBAL_SET(PANZER_HAVE_IFPACK2 OFF)
ENDIF()

ADD_SUBDIRECTORY(src)
TRIBITS_ADD_TEST_DIRECTORIES(test)
#TRIBITS_ADD_EXAMPLE_DIRECTORIES(example)

#IF(${PACKAGE_NAME}_ENABLE_Tutorial)
#  TRIBITS_ADD_EXAMPLE_DIRECTORIES(tutorial)
#ENDIF()

TRIBITS_SUBPACKAGE_POSTPROCESS()

